import request from '@/utils/request';

// 分页查询定时任务日志列表
export function pageList(query) {
  return request({
    url: '/monitor/jobLog/pageList',
    method: 'get',
    params: query,
  });
}

// 删除定时任务日志
export function deleteByIds(ids) {
  return request({
    url: '/monitor/jobLog/deleteByIds/' + ids,
    method: 'delete',
  });
}

// 清理调度日志
export function clean() {
  return request({
    url: '/monitor/jobLog/clean',
    method: 'delete',
  });
}
